<?php
$users = include('./array-user.php');
$users = array_keys($users);


$notMatches = [];
// 逐行读取kefu-rs.txt
$handle = fopen("./kefu-rs.txt", "r");
if ($handle) {
    while (($line = fgets($handle)) !== false) {
    
        $line = trim($line);
        if (in_array($line, $users)) {
            continue;
        }
        $notMatches[] = $line;
    }
    fclose($handle);

    print_r($notMatches);
} else {
    // error opening the file.
}